<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/css/detail.css">
    <script src="/lib/requirejs/require.min.js" data-main="/js/detail"></script>
    <title>Document</title>
</head>
<body>
    <header></header>
    <main>
        <div class="wrap">
            <div class="list_nav">当前位置: 
                <a href="/">首页</a> 
                <code>&gt;</code> 
                <a href="list.html">蛋糕</a>
            </div>
            <div class="cake">
                <div class="cake_nav">蛋糕分类:</div>
                <ul>
                    <li><a href="list">不限</a></li>
                    <li><a href="list.html">【新品上市】</a></li>
                    <li class="li1"><a href="list.html">天然奶油蛋糕</a></li>
                    <li><a href="list.html">法式蛋糕</a></li>
                    <li><a href="list.html">乳酪蛋糕</a></li>
                    <li><a href="list.html">慕斯蛋糕</a></li>
                    <li><a href="list.html">巧克力风味蛋糕</a></li>
                    <li><a href="list.html">大型庆典蛋糕</a></li>
                </ul>
            </div>
            <div class="info"> 

            </div>
        </div>

    </main>
    <footer></footer>

    <script type="text/html" id="detail-template">
        {{each products curr}}
    <div class="prod_detail">
        <div class="id">{{curr.id}}</div>
        <div class="info_img">
            <div class="info_img_left">
                <a href="#" >
                    <img src="{{curr.img_middle}}" alt="分享蛋糕【双12聚会5折推荐款】" id="goods_img">
                </a>
            </div>
            <div class="info_img_right" id="info_img_right">
                <a href="#"><img src="{{curr.img_small}}" alt="分享蛋糕【双12聚会5折推荐款】" class="B_blue"></a>
                <a href="#"><img src="{{curr.img_small}}" alt="分享蛋糕【双12聚会5折推荐款】" class="B_blue"></a>
                <a href="#"><img src="{{curr.img_small}}" alt="分享蛋糕【双12聚会5折推荐款】" class="B_blue"></a>
                <a href="#"><img src="{{curr.img_small}}" alt="分享蛋糕【双12聚会5折推荐款】" class="B_blue"></a>
            </div>
            <div class="clear"></div>  
        </div>
        <div class="info_operate">

            <div class="operate_like">
                <div class="like_share">
                    <div class="like">
                        <a href="javascript:;" class="icon_like" t="1177">
                        <div></div>    
                        <span class="like_num">{{curr.like}}</span>人喜欢
                        </a>
                    </div>
                </div>
            </div>
                
            <div class="operate">
                <div class="operate_left">
                    <div class="detail_content">
                        <div class="name ">
                            {{curr.name}}<br>
                            <span class="english"></span>
                        </div>
                        <div class="price" style="height:30px;float:right" id="price">
                            <span id="price_rmb">￥</span>
                            <span id="new">{{curr.price}}</span>
                            <ul id="price_right">
                                <li id="old" title="5折">原价：￥{{curr.old}}</li>
                                <li id="pro"><span id="pro_old">.00</span>/{{curr.size}}×{{curr.size}}cm</li>
                            </ul>
                        </div>
                    </div>
                    <div class="introduce">{{curr.title}}</div>
                    <div class="activity" style="color:#c2002d;">
                        <span>
                            {{curr.activity}}：<br>
                            {{curr.activity1}}；
                        </span>
                    </div>
                </div>
                <div class="operate_right">
                    <div class="size clear">
                        <div style="clear:both;">
                            <a class="products_size" title="[ ￥168.00]">
                                {{curr.size}}×{{curr.size}}cm
                                <!-- <input id="size_btn" type="radio" name="spec_1" value="10321" checked="" style="display:none;"> -->
                            </a>
                            <input type="hidden" name="size_list" value="0">
                        </div>
                    </div>
                    <div class="count clear">
                        <input id="icon_subtract" class="minus color_75" type="button" name="" value="-">
                        <input id="number" class="sum color_75" type="text" name="number" value="1" onblur="changePrice()">
                        <input id="icon_add" class="plus color_75" type="button" name="" value="+">
                    </div>
                    <button class="submit">加入购物车</button>
                </div>
            </div>  
        <div class="clear"></div>
    </div>
</div>
    
        
        
    {{/each}}
    </script>
</body>
</html>